Array2D

By using Array2D instead of T[][], only one array instance is created, not "n" arrays. So it is a lot faster when you use that instead of array of arrays.

Its main usage is for avoiding aij static array, and not needing to deal with array of arrays.

Constructors

this
this(uint lengthHeight, uint lengthWidth)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

toGC
Array2D_GC!T toGC()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Array2DMixin!T
Undocumented in source.

Mixed In Members

From mixin Array2DMixin!T

opApply
int opApply(int delegate(ref T) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
getWidth
int getWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
getHeight
int getHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T[] opSlice(size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto ref opIndex(size_t i, size_t j)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto ref opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
auto opIndexAssign(T value, size_t i, size_t j)
Undocumented in source. Be warned that the author may not have intended to support it.
opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta